
package com.springcloud.sc.upms.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 字典表
 *
 * @author zhl
 * @date 2019/03/19
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysDict extends Model<SysDict> {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 类型
	 */
	@TableField(value = "`type`")
	private String type;
	/**
	 * 描述
	 */
	private String description;
	/**
	 * 创建时间
	 */
	private LocalDateTime createTime;
	/**
	 * 更新时间
	 */
	private LocalDateTime updateTime;
	/**
	 * 是否是系统内置
	 */
	@TableField(value = "`system`")
	private String system;
	/**
	 * 备注信息
	 */
	@TableField(value = "`remarks`")
	private String remarks;
	/**
	 * 删除标记
	 */
	@TableLogic
	private String delFlag;
	/**
	 * 所属租户
	 */
	private Integer tenantId;

}
